﻿using System;

namespace FileZillaConfig.Helpers
{
    static class Check
    {
        public static bool Time(TimeSpan time)
        {
            if (time != null)
            {
                int sum = time.Hours + time.Minutes + time.Seconds;
                return (sum > 0) ? true : false;
            }
            return false;
        }

        public static bool Date(DateTime date)
        {
            if (date != null)
            {
                int sum = date.Year + date.Month + date.Day;
                return (sum > 3) ? true : false;
            }
            return false;
        }
    }
}
